home *** CD-ROM | disk | FTP | other *** search
-
-
-
- VVVVkkkkPPPPrrrreeeeffffIIIItttteeeemmmm((((3333xxxx)))) VVVVkkkkPPPPrrrreeeeffffIIIItttteeeemmmm((((3333xxxx))))
-
-
-
- NNNNAAAAMMMMEEEE
- VkPrefItem - Abstract class that supports preference items
-
- IIIINNNNHHHHEEEERRRRIIIITTTTSSSS FFFFRRRROOOOMMMM
- VkComponent : VkCallbackObject
-
- HHHHEEEEAAAADDDDEEEERRRR FFFFIIIILLLLEEEE
- #include <Vk/VkPrefItem.h>
-
- PPPPUUUUBBBBLLLLIIIICCCC PPPPRRRROOOOTTTTOOOOCCCCOOOOLLLL SSSSUUUUMMMMMMMMAAAARRRRYYYY
- AAAAcccccccceeeessssssss FFFFuuuunnnnccccttttiiiioooonnnnssss
- virtual int type(void);
- virtual Boolean changed(void);
- virtual Dimension labelHeight(void);
- virtual Dimension baseHeight(void);
- virtual void setLabelHeight(Dimension height);
- virtual void setBaseHeight(Dimension height);
- Widget labelWidget(void);
-
-
- AAAAccccttttiiiivvvvaaaattttiiiinnnngggg////DDDDeeeeaaaaccccttttiiiivvvvaaaattttiiiinnnngggg
- virtual void activate();
- virtual void deactivate();
-
-
- CCCCLLLLAAAASSSSSSSS DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- VkPrefItem is an abstract class that supports easy-to-create
- preference panels. The classes derived from VkPrefItem form a simple
- toolkit that creates preference panels, typically placed in a
- dialog. When creating a preference pane using the VkPref classes
- one does not normally pay much attention to layout, but allows the
- VkPref classes to create a layout automatically. The VkPref classes
- provide users the ability to cancel any operation at any time,
- reverting all preferences to their previous values. Automatically.
- Programmers who use the preference classes do not have to deal with
- callbacks or data retrieval on a per-widget basis, but instead allow
- the VkPref classes to handle all intermediate states transparently.
- Applications simply look at the final values of all preferences to
- see what has changed when the user applies the preferences.
-
- Preference panels are organized around from the VkPrefDialog class,
- the VkPrefList class, and the VkPrefGroup class. See man pages for
- those classes for examples of how to create preference panels.
-
-
-
- FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNSSSS
- VVVVkkkkPPPPrrrreeeeffffIIIItttteeeemmmm(((())))
- virtual void ~VkPrefItem(void);
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- VVVVkkkkPPPPrrrreeeeffffIIIItttteeeemmmm((((3333xxxx)))) VVVVkkkkPPPPrrrreeeeffffIIIItttteeeemmmm((((3333xxxx))))
-
-
-
- The VkPrefItem destructor destroys the companion label widget, and
- frees strings created for the base and label widget names.
-
- ttttyyyyppppeeee(((())))
- virtual int type(void);
-
-
- The type method is overridden by subclasses to return the true
- preference item type: PI_group, PI_list, PI_radio, PI_text,
- PI_toggle, PI_option, PI_custom, PI_empty, PI_label, or
- PI_separator. These correspond to the subclasses VkPrefGroup,
- VkPrefList, VkPrefRadio, VkPrefText, VkPrefToggle, VkPrefOption,
- VkPrefCustom, VkPrefEmpty, VkPrefLabel, and VkPrefSeparator,
- respectively.
-
- aaaaccccttttiiiivvvvaaaatttteeee(((())))
- void activate();
- void deactivate();
-
-
- Activate and deactivate will sensitize and desensitize,
- respectively, the preference object. The default state is
- sensitive.
-
- cccchhhhaaaannnnggggeeeedddd(((())))
- virtual Boolean changed(void);
-
-
- This method indicates whether the current value differs from the
- real value. Applications may want to call this method for
- preference objects when to test whether the user has actually
- changed the value. Typically, a VkPrefDialog is used and
- applications use this method in the apply callback.
-
- iiiissssCCCCoooonnnnttttaaaaiiiinnnneeeerrrr(((())))
- virtual Boolean isContainer(void);
-
-
- Indicates whether this object contains other preference objects
- (e.g. VkPrefList, VkPrefGroup).
-
- llllaaaabbbbeeeellllHHHHeeeeiiiigggghhhhtttt(((())))
- virtual Dimension labelHeight(void);
- virtual void setLabelHeight(Dimension height);
-
-
- The labelHeight method returns the height, in pixels, of the label
- widget. The setLabelHeight method changes the height.
-
- bbbbaaaasssseeeeHHHHeeeeiiiigggghhhhtttt(((())))
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- VVVVkkkkPPPPrrrreeeeffffIIIItttteeeemmmm((((3333xxxx)))) VVVVkkkkPPPPrrrreeeeffffIIIItttteeeemmmm((((3333xxxx))))
-
-
-
- virtual Dimension baseHeight(void);
- virtual void setBaseHeight(Dimension height);
-
-
- The baseHeight method returns the height, in pixels, of the base
- widget. The setBaseHeight method changes the height.
-
- llllaaaabbbbeeeellllWWWWiiiiddddggggeeeetttt(((())))
- Widget labelWidget(void);
-
-
- Returns the label widget for the preference object. If there is no
- label widget, NULL is returned.
-
- IIIINNNNHHHHEEEERRRRIIIITTTTEEEEDDDD MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm VVVVkkkkCCCCoooommmmppppoooonnnneeeennnntttt
- installDestroyHandler(), removeDestroyHandler(), widgetDestroyed(),
- setDefaultResources(), getResources(), manage(), unmanage(),
- baseWidget(), okToQuit(), _name, _baseWidget, _w, deleteCallback
-
-
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm VVVVkkkkCCCCaaaallllllllbbbbaaaacccckkkkOOOObbbbjjjjeeeecccctttt
- callCallbacks(), addCallback(), removeCallback(),
- removeAllCallbacks(),
-
- KKKKNNNNOOOOWWWWNNNN DDDDEEEERRRRIIIIVVVVEEEEDDDD CCCCLLLLAAAASSSSSSSSEEEESSSS
- VkPrefGroup, VkPrefList, VkPrefRadio, VkPrefText, VkPrefToggle,
- VkPrefOption, VkPrefCustom, VkPrefEmpty, VkPrefLabel, VkPrefSeparator,
-
- KKKKNNNNOOOOWWWWNNNN CCCCLLLLAAAASSSSSSSSEEEESSSS TTTTHHHHAAAATTTT UUUUSSSSEEEE TTTTHHHHIIIISSSS CCCCLLLLAAAASSSSSSSS
- VkPrefDialog, VkPrefGroup, VkPrefList, VkPrefRadio,
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- VkComponent, VkPrefDialog, VkPrefGroup, VkPrefList, VkPrefRadio
- _V_i_e_w_K_i_t _P_r_o_g_r_a_m_m_e_r'_s _G_u_i_d_e
- _T_h_e _X _W_i_n_d_o_w _S_y_s_t_e_m, DEC Press, Bob Sheifler and Jim Gettys
- _T_h_e _X _W_i_n_d_o_w _S_y_s_t_e_m _T_o_o_l_k_i_t, DEC Press, Paul Asente and Ralph Swick
- _T_h_e _O_S_F/_M_o_t_i_f _P_r_o_g_r_a_m_m_e_r_s _R_e_f_e_r_e_n_c_e, Prentice Hall, OSF
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-